package com.pine.dao.pineframework.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pine.common.database.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;


/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author pine manage
 * @since 2024-08-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_role_menu")
@Schema(name = "SysRoleMenu", description = "角色菜单表")
public class SysRoleMenu extends BaseEntity<Long> implements Serializable {

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = -6262349231050305457L;

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "菜单id")
    private Long menuId;
}
